package Service.ServiceImpl;

import Dao.DaoImpl.OutApplyDaoImpl;
import Dao.OutApplyDao;
import Service.OutApplyService;
import domain.OutApply;

import java.util.List;

public class OutApplyServiceImpl implements OutApplyService {
    private OutApplyDao dao = new OutApplyDaoImpl();

    @Override
    public List<OutApply> outApplyList() {
        return dao.outApplyList();
    }

    @Override
    public void updateApplyStateById(int id, String state,String checkPeo) {
        dao.updateApplyStateById(id,state,checkPeo);
    }

    @Override
    public List<OutApply> noCheckApplyList() {
        return dao.noCheckApplyList();
    }

    @Override
    public void addApply(OutApply app) {
        dao.addApply(app);
    }

    @Override
    public OutApply selectOutApplyById(int id) {
        return dao.selectOutApplyById(id);
    }


}
